package cn.ncu.wechat.dao;

import cn.ncu.wechat.model.Coupon;
import cn.ncu.wechat.model.CouponDailyStats;
import cn.ncu.wechat.model.CouponOverview;
import cn.ncu.wechat.model.CouponTypeStats;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.ArrayList;

/**
* @author 
* @description 针对表【coupon(优惠券表)】的数据库操作Mapper
* @createDate 2025-01-07 16:07:41
* @Entity cn.ncu.wechat.modle.Coupon
*/
public interface CouponMapper extends BaseMapper<Coupon> {

    CouponOverview getCouponOverView(String startDate, String endDate);

    ArrayList<CouponDailyStats> getDailyStat(String startDate, String endDate);

    ArrayList<CouponTypeStats> getTypeStats(String startDate, String endDate);
}




